package com.itshizhan.itjidancideveloper.utils

import java.time.Instant
import java.time.ZoneId
import java.time.format.DateTimeFormatter
import java.util.*

object DateUtils {

  fun timestamp():String{
    return DateTimeFormatter
        .ofPattern("yyyy-MM-dd HH:mm:ss.SSSSSS", Locale.CHINA)
        .withZone(ZoneId.of("+8"))
        .format(Instant.now())
  }
}